﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ControlBanner.ascx.cs" Inherits="Controls_ControlBanner" %>
<%@ Import Namespace="webapp4U" %>

<script type="text/javascript">
    $(window).load(function() {
        $('#slider').nivoSlider();
    });
</script>
<asp:UpdatePanel ID="UserUpdatePanel" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <div id="slider" class="nivoSlider">
            <asp:Repeater runat="server" ID="rptBanner">
                <ItemTemplate>
                    <a href="<%# Eval("URL")%>"><img src="<%=Globals.ApplicationPath %>UserUpload/Link/<%# Eval("FileName") %>" width="972" height="320" alt=""/></a>
                    
                </ItemTemplate>
            </asp:Repeater>  
        </div>
    </ContentTemplate>
</asp:UpdatePanel>